package com.wqh.apigateway.exception;

import org.springframework.boot.autoconfigure.web.DefaultErrorAttributes;
import org.springframework.web.context.request.RequestAttributes;

import java.util.Map;

/**
 * @author wanqh
 * @date 2018/01/18 11:34
 * @description:
 */
public class MyException extends DefaultErrorAttributes {
    @Override
    public Map<String, Object> getErrorAttributes(RequestAttributes requestAttributes, boolean includeStackTrace) {
        return super.getErrorAttributes(requestAttributes, includeStackTrace);
    }
}
